<template>
  <div class="editaddress">
    <div class="head">
      <div class="backicon">
        <img src="../../assets/img/backicon.png" alt />
      </div>
      <div class="title">编辑地址</div>
    </div>
    <div class="form">
      <div class="idet-form">
        <p>收货人</p>
        <input type="text" placeholder="收货人姓名" />
      </div>
      <div class="idet-form">
        <p>手机号码</p>
        <input type="text" placeholder="收货人联系方式" />
      </div>
      <div class="idet-form">
        <p>所在地区</p>
        <input type="text" placeholder="江苏省 南京市 玄武区" />
        <img src="../../assets/img/editaddress-arrow-left.png" alt />
      </div>
      <div class="idet-form">
        <p>详细地址</p>
        <input type="text" placeholder="南京市理工大学科技园A2栋617室" />
      </div>
      <div class="setdef">
        <p>设为默认地址</p>
        <van-icon name="checked" size="14px"/>
      </div>
    </div>
    <div class="foot">

    </div>
  </div>
</template>
<script>
export default {
  data() {
    return {};
  }
};
</script>
<style>
.editaddress {
  width: 100%;
  height: 100%;
  background-color: #f8f8f8;
}
.head {
  height: 40px;
  background-color: #fff;
}
.backicon {
  width: 10px;
  height: 10px;
}
.backicon img {
  width: 10px;
  height: 10px;
  float: left;
  margin-left: 10px;
  margin-top: 15px;
}
.title {
  text-align: center;
  font-size: 16px;
  font-family: "PingFang SC", "Microsoft YaHei";
  font-weight: bold;
  color: #000;
  line-height: 20px;
}
.form {
  width: 100%;
  height: 345px;
  background-color: #fff;
  margin-top: 13px;
  padding: 0 17px;
  box-shadow: 1px 1px 1px rgba(204, 204, 204, 0.8);
}
.idet-form {
  width: 100%;
  height: 73px;
  border-bottom: 1px solid #efefef;
  padding-top: 14px;
}
p {
  font-family: "PingFang SC", "Microsoft YaHei";
  font-weight: bold;
  font-size: 16px;
  margin-bottom: 0;
}
input {
  width: 100%;
  background: none;
  outline: none;
  border: none;
  font-family: "PingFang SC", "Microsoft YaHei";
  font-size: 13px;
  line-height: 30px;
  color: #000;
  caret-color: #000;
  font-weight: 300;
}
img {
  width: 8px;
  float: right;
  margin-left: -12px;
}
.setdef p{
    width: 100px;
    margin-top: 10px;
}
.van-icon{
    float: left;
    margin-left: 100px;
    margin-top: -20px;
}
.foot{
    
}
</style>